package com.qiangou.dao.impl;

import org.springframework.stereotype.Repository;

import com.entity.User;
import com.qiangou.dao.UserDao;
@Repository("userDao")
public class UserDaoImpl extends BaseDaoImpl<User> implements UserDao{  
	public UserDaoImpl(){
		super.setNs("com.salesslip.mapper.UserMapper");
	}
	@Override
	public User getUserByUserName(String username) {
		return this.getSqlSession().selectOne(getNs()+".getUserByUserName",username);
	}
}
